@layout("/common/_form.html",{js:["/assets/manager/flowServiceType/flowServiceType_edit.js"]}){

<form class="layui-form" id="flowServiceTypeForm" lay-filter="flowServiceTypeForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="serviceTypeId" type="hidden"/>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">类型名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="typeName" name="typeName" placeholder="请输入类型名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">车辆图片<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn" id="typeUrlBtn">上传图片</button>
                            <input type="hidden" id="typeUrl" name="typeUrl" />
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" style="width: 120px;" id="filePreview">
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">状态</label>
                        <div class="layui-input-block">
                            <select id="status" name="status" lay-filter="status">
                                <option value="0">展示</option>
                                <option value="1">隐藏</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <textarea name="notes" id="notes" placeholder="请输入备注" class="layui-textarea"></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">运输人数</label>
                        <div class="layui-input-block">
                            <input id="memberNumber" name="memberNumber" placeholder="请输入运输人数" type="text" class="layui-input"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">增值服务项</label>
                        <div class="layui-input-block">
                            <select id="type" name="type" lay-filter="type">
                                <option value="0">全包</option>
                                <option value="1">计算物品费</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">服务类型</label>
                        <div class="layui-input-block">
                            <select id="module" name="module" lay-filter="module">
                                <option value="0">同城搬家</option>
                                <option value="1">跨市搬家</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">服务备注</label>
                        <input type="hidden" id="params" name="params" />
                        <div class="layui-input-block" id="formList">
                            <div class="param-line layui-col-md12">
                                <div class="layui-inline">
                                    <input type="text" class="layui-input param-key" placeholder="参数名">
                                </div>
                                <div class="layui-inline">
                                    <input type="text" class="layui-input param-value" placeholder="参数值">
                                </div>
                            </div>
                            <div class="param-line layui-col-md12">
                                <div class="layui-inline">
                                    <input type="text" class="layui-input param-key" placeholder="参数名">
                                </div>
                                <div class="layui-inline">
                                    <input type="text" class="layui-input param-value" placeholder="参数值">
                                </div>
                            </div>
                            <div class="param-line layui-col-md12">
                                <div class="layui-inline">
                                    <input type="text" class="layui-input param-key" placeholder="参数名">
                                </div>
                                <div class="layui-inline">
                                    <input type="text" class="layui-input param-value" placeholder="参数值">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">排序</label>
                        <div class="layui-input-block">
                            <input id="orders" name="orders" placeholder="请输入排序" type="text" class="layui-input"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}